package com.pyue.eam.admin.api.entity.regi;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.pyue.eam.admin.api.base.BaseEntity;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.time.LocalDate;

/**
 * 团长表
 *
 * @author lucc
 * @date 2023-10-12 20:38:50
 */
@Data
@TableName("cq_regi_lib")
@EqualsAndHashCode(callSuper = true)
@Schema(description = "团长表")
@Accessors(chain = true)
public class CqRegiLibEntity extends BaseEntity {

    @TableId(type = IdType.ASSIGN_ID)
    private Long regiId;

    /**
     * 团名称
     */
    @Schema(description = "团名称")
    private String regiName;

    /**
     * 团号
     */
    @Schema(description = "团号")
    private String regiCode;

    /**
     * 团邮件
     */
    @Schema(description = "团邮件")
    private String regiEmail;

    /**
     * 团人数
     */
    @Schema(description = "团人数")
    private Integer perNum;

    /**
     * 成立日期
     */
    @Schema(description = "成立日期")
    private LocalDate planStart;

    /**
     * 总评分
     */
    @Schema(description = "总评分")
    private String score;

    /**
     * 团头像
     */
    @Schema(description = "团头像")
    private String regiAvatar;

    /**
     * 负责人名称
     */
    @Schema(description = "负责人名称")
    private String masterName;

    /**
     * 负责人电话
     */
    @Schema(description = "负责人电话")
    private String masterPhone;

    /**
     * 地址
     */
    @Schema(description = "地址")
    private String address;

    /**
     * 备注
     */
    @Schema(description = "备注")
    private String remark;
}
